package beans;

import java.rmi.RemoteException;
import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
import javax.ejb.FinderException;

/**
 *
 * @author KAV
 */
public interface EmployeesBeanRemoteHome extends EJBHome {

    EmployeesBeanRemote findByPrimaryKey(java.lang.Integer key)  throws FinderException, RemoteException;
    public Collection findAll() throws RemoteException, FinderException;
    public Collection findByNameOrSurname(String query) throws RemoteException, FinderException;
    public EmployeesBeanRemote create(String name, String surname, String job, int manager, String hiredate, int salary, int department) throws CreateException, RemoteException;
}
